#include "InBlock.h"

InBlock::InBlock(Scope* pParentScope)
{
    m_eType=Scope::eScopeBlock;
    m_pxParent = pParentScope;
}

InBlock::~InBlock(void)
{
}

Scope* InBlock::process(Token& inToken, bool &bIsEndOfScope)
{
    Scope* pxScope = NULL;
    char cDelimiter = char(inToken);
    bIsEndOfScope=false;

    pxScope = Scope::process(inToken, bIsEndOfScope);

    switch(cDelimiter)
    {
    case '}':
        bIsEndOfScope = true;
        break;

    }

    return pxScope;
}